package com.android.sunflower.logic.room

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.android.sunflower.logic.room.daos.FlowerDao
import com.android.sunflower.logic.room.daos.PlantedFDao
import com.android.sunflower.logic.room.entities.Flower
import com.android.sunflower.logic.room.entities.PlantedF

@Database(entities = [Flower::class,PlantedF::class], version = 1)
@TypeConverters(TypeConverter::class)
abstract class AppDataBase:RoomDatabase() {
    abstract fun flowerDao():FlowerDao

    abstract fun plantedFDao():PlantedFDao
}